package com.tb.v1.mapper;

import com.tb.v1.common.base.IBaseDao;
import com.tb.v1.entity.SpPermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * SpPermissionMapper数据库操作接口类bean
 * @author tb
 * @date Fri Jul 10 15:04:00 CST 2020
 **/

public interface SpPermissionMapper extends IBaseDao<SpPermission> {

    List<SpPermission> getMenus(@Param("psPid") Integer psPid);
    List<SpPermission> getRightsList(Map map);
    Integer getRightsCount(Map map);
    List<SpPermission> getRoleLevel(Map map);
    List<SpPermission> getPermissionList(Map map);

}